import { test } from "@/router/enums";
const Layout = () => import("@/layout/index.vue");

export default {
  path: "/test",
  name: "Test",
  component: Layout,
  redirect: "/test/demo",
  meta: {
    icon: "ep:filter",
    title: "实验特性",
    rank: test
  },
  children: [
    {
      path: "/test/demo",
      name: "Test-Demo",
      component: () => import("@/views/test/demo/index.vue"),
      meta: {
        icon: "ep:cold-drink",
        title: "DEMO",
        keepAlive: true
      }
    },
    {
      path: "/test/more",
      name: "Test-More",
      component: () => import("@/views/test/more/index.vue"),
      meta: {
        icon: "ep:more",
        title: "MORE"
      }
    }
  ]
} as RouteConfigsTable;
